package com.heyue.ems.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.heyue.common.core.annotation.Excel;
import com.heyue.common.core.web.domain.BaseEntity;

/**
 * GPS监控设备（API返回）对象 gps_detail
 * 
 * @author WCHU
 * @date 2021-07-27
 */
public class GpsDetail extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** GPS编号 */
    @Excel(name = "GPS编号")
    private Long gpsId;

    /** 经纬度 */
    @Excel(name = "经纬度")
    private String latitudeLongitude;

    /** 地址 */
    @Excel(name = "地址")
    private String address;

    /** 查询时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "查询时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date detectionTime;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setGpsId(Long gpsId) 
    {
        this.gpsId = gpsId;
    }

    public Long getGpsId() 
    {
        return gpsId;
    }
    public void setLatitudeLongitude(String latitudeLongitude) 
    {
        this.latitudeLongitude = latitudeLongitude;
    }

    public String getLatitudeLongitude() 
    {
        return latitudeLongitude;
    }
    public void setAddress(String address) 
    {
        this.address = address;
    }

    public String getAddress() 
    {
        return address;
    }
    public void setDetectionTime(Date detectionTime) 
    {
        this.detectionTime = detectionTime;
    }

    public Date getDetectionTime() 
    {
        return detectionTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("gpsId", getGpsId())
            .append("latitudeLongitude", getLatitudeLongitude())
            .append("address", getAddress())
            .append("detectionTime", getDetectionTime())
            .toString();
    }
}
